<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="实时状态">
        <cattle-manager-cattle-liedown-monitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="实时数据">
        <cattle-manager-cattle-liedown-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="躺卧明细">
        <cattle-manager-cattle-liedown-range-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="按天躺卧率统计">
        <cattle-manager-cattle-liedown-daycal-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="按小时躺卧率统计">
        <cattle-manager-cattle-liedown-hourcal-data :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="运动量按天统计">
        <cattle-manager-cattle-liedown-daycal-stepdata :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="运动量按小时统计">
        <cattle-manager-cattle-liedown-hourcal-stepdata :data="data" />
      </a-tab-pane>
      <a-tab-pane key="8" tab="躺卧时长按天统计">
        <cattle-manager-cattle-liedown-daycal-lietimedata :data="data" />
      </a-tab-pane>
      <a-tab-pane key="9" tab="躺卧时长按小时统计">
        <cattle-manager-cattle-liedown-hourcal-lietimedata :data="data" />
      </a-tab-pane>
      <a-tab-pane key="10" tab="运动睡眠统计对比">
        <cattle-manager-cattle-liedown-hourdata-diff :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import CattleManagerCattleLiedownMonitor from  './liedown-monitor.vue';
import CattleManagerCattleLiedownData from './liedown-data.vue';
import CattleManagerCattleLiedownRangeData from './liedown-range-data.vue'
import CattleManagerCattleLiedownDaycalData from './liedown-daycal-data.vue'
import CattleManagerCattleLiedownHourcalData from './liedown-hourcal-data.vue'
import CattleManagerCattleLiedownDaycalStepdata from './liedown-daycal-stepdata.vue'
import CattleManagerCattleLiedownHourcalStepdata from './liedown-hourcal-stepdata.vue'
import CattleManagerCattleLiedownHourdataDiff from './liedown-hourdata-diff.vue'
import CattleManagerCattleLiedownDaycalLietimedata from './liedown-daycal-lietimedata.vue'
import CattleManagerCattleLiedownHourcalLietimedata from './liedown-hourcal-lietimedata.vue'

export default {
  name: 'CattleManagerCattleLiedown',
  components: {
    CattleManagerCattleLiedownDaycalStepdata,
    CattleManagerCattleLiedownMonitor,
    CattleManagerCattleLiedownData,
    CattleManagerCattleLiedownRangeData,
    CattleManagerCattleLiedownDaycalData,
    CattleManagerCattleLiedownHourcalData,
    CattleManagerCattleLiedownHourcalStepdata,
    CattleManagerCattleLiedownHourdataDiff,
    CattleManagerCattleLiedownDaycalLietimedata,
    CattleManagerCattleLiedownHourcalLietimedata
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
